package org.example.http;

import java.util.List;
import java.util.Map;

public interface HttpRequest {

    HttpRequest addHeader(String name, String value);

    HttpRequest addHeader(Map<String, String> headers);

    HttpRequest addHeader(Header header);

    HttpRequest addHeader(List<Header> headers);

    SimpleHttpRequest addParam(Object name, Object value);

    SimpleHttpRequest addParam(Map params);

    HttpResponse exec();
}
